import java.util.Arrays;

public class Test {
    public static void main(String[] args){
        int[] arrgs={27,15,19,18,28,34,65,49,25,37};
        TestHeap testHeap=new TestHeap();
        testHeap.initElem(arrgs);
        testHeap.createHeap();
        System.out.println(Arrays.toString(testHeap.elem));
        testHeap.heapSort();
        System.out.println(Arrays.toString(testHeap.elem));
    }
}
//默认是大根堆
